package safari.model.buy;

import java.sql.SQLException;
import java.util.List;

import safari.model.common.ListVO;

public interface BuyBoardService {

	public int insertContent(BuyBoardVO bvo) throws SQLException;

	public BuyBoardVO register(BuyBoardVO bvo) throws SQLException;

	public int totalContents() throws SQLException;
	
	public ListVO getContentList(int nowPage) throws SQLException;

	public BuyBoardVO updateContent(BuyBoardVO bvo) throws SQLException;

	public int deleteContent(int no) throws SQLException;

	public List<BuyCommentVO> getCommentList(int nowPage) throws SQLException;
	
	public BuyCommentVO registerComment(BuyCommentVO bcvo) throws SQLException;

	public BuyBoardVO showContentHits(int no) throws SQLException;

	public BuyBoardVO showContentNoHits(int no) throws SQLException;

	public BuyCommentVO updateComment(BuyCommentVO bcvo) throws SQLException;

	public int deleteComment(int no) throws SQLException;

	

}
